<extend name="Layout:layout" />
<block name="body_main">
    <div class="block box">
        <div class="blank"></div>
        <div id="ur_here">
            当前位置: <a href="{:U('Index/index')}">首页</a> <code>&gt;</code> 用户中心 
        </div>
    </div>
    <div class="blank"></div>
    <div class="blank"></div>
    <div class="block clearfix">
        <div class="AreaL">
            <div class="box">
                <div class="box_1">
                    <div class="userCenterBox">
                        <div class="userMenu">
                            <a href="{:U('MyHome/index')}" class="curs"><img src="__THEME__images/u1.gif"> 欢迎页</a>
                            <a href="{:U('MyProfile/profile_edit')}"><img src="__THEME__images/u2.gif"> 用户信息</a>
                            <a href="{:U('MyOrder/index')}"><img src="__THEME__images/u3.gif"> 我的订单</a>
                            <a href="{:U('MyConsignee/index')}"><img src="__THEME__images/u4.gif"> 收货地址</a>
                            <a href="{:U('MyFavorite/index')}"><img src="__THEME__images/u5.gif"> 我的收藏</a>
                            <a href="{:U('Passport/logout')}" style="background:none; text-align:right; margin-right:10px;"><img src="__THEME__images/bnt_sign.gif"></a>
                        </div>      
                    </div>
                </div>
            </div>
        </div>
        <div class="AreaR">
            <div class="box">
                <div class="box_1">
                    <div class="userCenterBox boxCenterList clearfix" style="_height:1%;">
                        <h5><span>个人资料</span></h5>
                        <div class="blank"></div>
                        <form name="formEdit" action="{:U('profile_edit_save')}" method="post">
                            <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
                                <tr>
                                    <td width="28%" align="right" bgcolor="#FFFFFF">性　别： </td>
                                    <td width="72%" align="left" bgcolor="#FFFFFF">
                                <sohtml:radio name="sex" items="0:保密;1:男;2:女" value="{$data.sex}" />
                                </td>
                                </tr>
                                <tr>
                                    <td width="28%" align="right" bgcolor="#FFFFFF">电子邮件地址： </td>
                                    <td width="72%" align="left" bgcolor="#FFFFFF">
                                        <input name="email" type="text" value="{$data.email}" size="25" class="inputBg" /><span style="color:#FF0000"> *</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="28%" align="right" bgcolor="#FFFFFF" id="extend_field2i">QQ：</td>
                                    <td width="72%" align="left" bgcolor="#FFFFFF">
                                        <input name="qq" type="text" class="inputBg" value="{$data.qq}"/><span style="color:#FF0000"> *</span>            </td>
                                </tr>
                                <tr>
                                    <td width="28%" align="right" bgcolor="#FFFFFF" id="extend_field5i">手机：</td>
                                    <td width="72%" align="left" bgcolor="#FFFFFF">
                                        <input name="mobile" type="text" class="inputBg" value="{$data.mobile}"/><span style="color:#FF0000"> *</span>            </td>
                                </tr>
                                <tr>
                                    <td colspan="2" align="center" bgcolor="#FFFFFF"><input name="act" type="hidden" value="act_edit_profile" />
                                        <input name="submit" type="submit" value="确认修改" class="bnt_blue_1" style="border:none;" />
                                    </td>
                                </tr>
                            </table>
                        </form>
                        <form name="formPassword" action="{:U('update_password_save')}" method="post" onSubmit="return editPassword()" >
                            <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
                                <tr>
                                    <td width="28%" align="right" bgcolor="#FFFFFF">原密码：</td>
                                    <td width="76%" align="left" bgcolor="#FFFFFF"><input name="old_password" type="password" size="25"  class="inputBg" /></td>
                                </tr>
                                <tr>
                                    <td width="28%" align="right" bgcolor="#FFFFFF">新密码：</td>
                                    <td align="left" bgcolor="#FFFFFF"><input name="new_password" type="password" size="25"  class="inputBg" /></td>
                                </tr>
                                <tr>
                                    <td width="28%" align="right" bgcolor="#FFFFFF">确认密码：</td>
                                    <td align="left" bgcolor="#FFFFFF"><input name="comfirm_password" type="password" size="25"  class="inputBg" /></td>
                                </tr>
                                <tr>
                                    <td colspan="2" align="center" bgcolor="#FFFFFF"><input name="act" type="hidden" value="act_edit_password" />
                                        <input name="submit" type="submit" class="bnt_blue_1" style="border:none;" value="确认修改" />
                                    </td>
                                </tr>
                            </table>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</block>